package com.csc.Autoverwaltung.Model;

import java.io.Serializable;

public class Payload implements Serializable {

/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Object object;
	private String command;
	private String ip;
	private int port;
	
	public Payload(Object object, String command, String ip, int port) {
		
		this.object = object;
		this.command = command;
		this.ip = ip;
		this.port = port;
		
	}

	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
	}

	public String getCommand() {
		return command;
	}

	public void setCommand(String command) {
		this.command = command;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}
	
	
}
